<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">

  <!-- 默认情况下 浏览器会将移动端的视口大小设置为980px 然后再进行缩放
       所以我们需要将视口的宽度设置为设备的真实宽度,设置为不缩放 
  -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <style>
    .box{
      width: 100px;
      height: 100px;
      background-color: orange;
    }
  </style>
</head>
<body>
  <div class="box">

  </div>
</body>
</html>